package com.company;

/**
 * @description:
 * @author: Lenovo
 * @date: Crcoted in 2020/05/16 15:23
 * @version:${VERSION}
 * @modified By:
 */
public class WGun extends Weapon {
    public WGun(String id, String description, int damadePoints) {
        super(id, description, damadePoints);
    }

    @Override
    public void useArticle(Creature enemyCreature) {
        enemyCreature.setHp(enemyCreature.getHp()+this.getDamadePoints());
    }
}